<template>
  <view class="">
    <ran_car
      v-for="(item, index) in rank_list"
      :key="index"
      :item="item"
    ></ran_car>
  </view>
</template>

<script>
// 导入 ran_car.vue
import ran_car from "./ran_car";
export default {
  data() {
    return {
      // 排名
      rank_list: [
        {
          name: "猎影人",
          src: "/static/23.jpg",
          num: "321",
          // 排名
          rank: "1",
        },
        {
          name: "北极考拉",
          src: "/static/23.jpg",
          num: "321",
          // 排名
          rank: "2",
        },
        {
          name: "Pink Chimney",
          src: "/static/23.jpg",
          num: "228",
          // 排名
          rank: "3",
        },
        {
          name: "金针菇",
          src: "/static/23.jpg",
          num: "123",
          // 排名
          rank: "4",
        },
        {
          name: "李淡淡",
          src: "/static/23.jpg",
          num: "98",
          // 排名
          rank: "5",
        },
        {
          name: "金金小张",
          src: "/static/5.jpg",
          num: "66",
          // 排名
          rank: "6",
        },
      ],
    };
  },
  methods: {},
  components: {
    ran_car,
  },
};
</script>


<style>
</style>